<ul<#rt/>
<#if parameters.cssClass?exists>
 class="${parameters.cssClass?html}"<#rt/>
<#else>
 class="g-topmenu"<#rt/>
</#if>
<#if parameters.cssStyle?exists>
 style="${parameters.cssStyle?html}"<#rt/>
</#if>
>
<#list tag.topMenusAsArray as menuComponent>
	<li<#rt/>
<#if tag.topMenu?if_exists == menuComponent.name>
 class="g-topmenu-active"<#rt/>
</#if>
><#rt/>
<a href="<#rt/>
<#if menuComponent.webContext?exists>${menuComponent.webContext}</#if><#rt/>
<#if menuComponent.location?exists>${menuComponent.location}</#if><#rt/>
"<#rt/>
<#if menuComponent.target?exists> target="${menuComponent.target}"</#if><#rt/>
><#rt/>
<#if menuComponent.title?exists>
${menuComponent.title}<#rt/>
</#if>
</a><#rt/>
</li>
</#list>
</ul>